using UnityEngine;

/// <summary>
/// 桶僵尸数据
/// </summary>
[CreateAssetMenu(menuName = "创建ScriptableObject/Zombies/BucketheadZombieData")]
public class BucketheadZombieData : ZombieData
{
    [Header("桶僵尸属性")]
    [Tooltip("基础生命值（包含桶的额外生命值）")]
    public int BaseHealth = 1370;
    
    [Tooltip("桶的额外生命值")]
    public int BucketHealth = 1100;
    
    [Tooltip("基础移动速度")]
    public float MoveSpeed = 0.5f;
    
    [Tooltip("攻击伤害")]
    public int AttackDamage = 100;
    
    [Tooltip("失去桶后的生命值")]
    public int HealthAfterBucketLost = 200;

    private void OnEnable()
    {
        Type = ZombieType.BucketheadZombie;
        HasBucket = true;
        CanJump = false;
        Health = BaseHealth;
        BaseMoveSpeed = MoveSpeed;
    }
}

